<template>
	<uni-swiper-dot :info="info" :current="current" field="content" :mode="mode">
		<swiper class="swiper-box" @change="change">
			<swiper-item v-for="(item ,index) in info" :key="index">
				<view class="swiper-item">
					<image class="swiper-image" :src="item.thumb" mode="scaleToFill"></image>
				</view>
			</swiper-item>
		</swiper>
	</uni-swiper-dot>
</template>

<script>
	export default {
		name:"swipeImage",
		props:{
			mode: "",
			info: []
		},
		data() {
			return {
				current:0
			};
		},
		methods:{
			change(){
				
			}
		}
	}
</script>

<style>
.swiper-image{
	width: 100%; 
}
</style>